Skip to content

Restore per-worker VQF for methods 5-7#393

Merged
JanuszBedkowski merged 2 commits intoMapsHD:mainfrom
Jakubach:restore-local-vqf
Mar 9, 2026
Merged

Restore per-worker VQF for methods 5-7#393
JanuszBedkowski merged 2 commits intoMapsHD:mainfrom
Jakubach:restore-local-vqf

Conversation

@Jakubach
Copy link
Copy Markdown
Contributor

@Jakubach Jakubach commented Mar 8, 2026

Summary

  • Restore estimate_orientations() removed in Disable IMU preintegration by default #392
  • Methods 5-7 (VQF velocity) now use a local VQF instance per worker for orientation estimation, instead of reusing global VQF orientations
  • Restore missing imu_utils function definitions (safe_dt, has_nan, is_accel_valid, convert_gyro_to_rads) that were lost during refactor
  • Gyro units correctly handled as rad/s (no deg2rad conversion)

Context

PR #392 accidentally removed per-worker VQF orientation estimation. Methods 5-7 became identical to 2-4 in terms of orientation source, differing only in velocity source. This restores the original behavior where methods 5-7 estimate local orientations from each worker's IMU data using a fresh VQF instance.

Jakubach added 2 commits March 8, 2026 23:42
Re-add estimate_orientations() that was removed in PR MapsHD#392.
Methods 5-7 (VQF velocity) now use a local VQF instance per worker
to estimate orientations from IMU data, instead of reusing the
global VQF orientations. Also restore missing imu_utils function
definitions (safe_dt, has_nan, is_accel_valid, convert_gyro_to_rads).
Local VQF now uses the same parameters as global VQF (from GUI/TOML)
instead of hardcoded defaults. Only tauAcc was passed before.
@Jakubach Jakubach marked this pull request as draft March 9, 2026 01:11
@Jakubach Jakubach marked this pull request as ready for review March 9, 2026 08:06
@JanuszBedkowski JanuszBedkowski merged commit 94208a3 into MapsHD:main Mar 9, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants